package regexobject;

import java.util.Arrays;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/3/1
 **/
public class SplitDemo {
    public static void main(String[] args) {
        String line="abc123def123nbv";
        String[]data=line.split("[0-9]+");
        System.out.println(Arrays.toString(data));
        line="...asd...sdd..";
        data=line.split("\\.");
        System.out.println(Arrays.toString(data));
    }
}
